package org.example.userservice;

import org.example.pojo.entity.AddressBook;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface AddressService {

    List<AddressBook> list(AddressBook addressBook);
    void insert(AddressBook addressBook);
    void update(AddressBook address);
    void setDefault(AddressBook address);

}
